# Methods added to this helper will be available to all templates in the application.
module ApplicationHelper
  
  def textilize(text)
    logger.info "textilizing..."
    RedCloth.new(text).to_html
  end
  
  def snr
    "<div class=\"cb\"></div>"
  end
  
  def nice_date(date)
    date.strftime("%a %d %b %y %I:%M %p")
  end
end
